package com.online.music.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.online.music.entity.po.Comment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.online.music.entity.vo.CommentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: Leno
 * @Date: 2025-01-31
 * @Description: CommentMapper
 */
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {

    Page<CommentVo> findPage(Page<Comment> page, @Param("ew") QueryWrapper<Comment> qw);

}

